<%--
  Created by IntelliJ IDEA.
  User: Zhao
  Date: 2017/2/27
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<div id="Header">
    <div id="nav">
        <nav class="navbar navbar-inverse" style="border-bottom-width: 0px;margin-bottom: 0px">
            <nav class="navbar navbar-inverse navbar-fixed-top" >
                <div class="container">
                    <div class="navbar-header">
                        <a class="navbar-brand" href="/hello/index.do">
                            <span>湖南理工学院校友总会 </span>
                        </a>
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                    </div>
                    <div id="navbar" class="navbar-collapse collapse">
                        <ul id="nav-ul" class="nav navbar-nav">
                            <%--导航栏信息--%>
                        </ul>
                        <form class="navbar-form navbar-inverse navbar-right" action="/news/search.do" method="post">
                            <div class="form-group">
                                <input type="text" name="searchContent" class="form-control" placeholder="校友平台资讯">
                            </div>
                            <input type="submit" class="btn btn-default" value="搜索"></input>
                        </form>
                    </div><!--/.nav-collapse -->
                </div>
            </nav>
        </nav>
    </div>
</div>
<div id="Carousel">
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" >
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        </ol>
        <div class="carousel-inner" role="listbox">
            <div class="item active" onclick="toAddress('${configItem.indexBigPhoto1Address}')">
                <img src="/resource/img/hnist1.jpg" alt="First slide">
            </div>
            <div class="item" onclick="toAddress('${configItem.indexBigPhoto2Address}')">
                <img src="/resource/img/hnist2.jpg" alt="Second slide">
            </div>
            <div class="item" onclick="toAddress('${configItem.indexBigPhoto3Address}')">
                <img src="/resource/img/hnist3.jpg" alt="Third slide">
            </div>
        </div>
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>
</div>
</body>
</html>
